@function a($px, $base-font-size: 75px) {

  @if (unitless($px)) {

    @warn "Assuming #{$px} to be in pixels, attempting to convert it into pixels for you";

    @return a($px + 0px); // That may fail.

  } @else if (unit($px) == rem) {

    @return $px;

  }

  @return ($px / $base-font-size) * 1rem;

}



@mixin font-dpr($font-size){

  font-size: $font-size;



  [data-dpr="2"] & {

    font-size: $font-size * 2;

  }



  [data-dpr="3"] & {

    font-size: $font-size * 3;

  }

}

@mixin box-sizing ($sizing) {

  -webkit-box-sizing:$sizing;

  -moz-box-sizing:$sizing;

  box-sizing:$sizing;

}